import employees from '@/api/constant/employees'
import moment from 'moment'
export const myemploy = function (value) {
  const obj = employees.hireType.find(item => {
    return item.id === value
  })
  return obj ? obj.value : '未知'
}

// 过滤器
export const mymoment = function (value) {
  return moment(value).format('YYYY-MM-DD')
}
